a87071788935181888a02adf7e399b6186a61466,components/camel-ftp/src/main/java/org/apache/camel/component/file/remote/RemoteFileConsumer.java,RemoteFileConsumer,isValidFile,#RemoteFile#boolean#,245
Before Change
return false;
} else if (endpoint.isIdempotent() && endpoint.getIdempotentRepository().contains(file.getAbsolutelFileName())) {
// use file.getAbsoluteFileName as key for the idempotent repository to support files with same name but in different folders
log.warn("RemoteFileConsumer is idempotent and the file has been consumed before. Will skip this remote file: " + file);
return false;
}
After Change
return false;
} else if (endpoint.isIdempotent() && endpoint.getIdempotentRepository().contains(file.getAbsolutelFileName())) {
// use file.getAbsoluteFileName as key for the idempotent repository to support files with same name but in different folders
if (log.isTraceEnabled()) {
log.trace("RemoteFileConsumer is idempotent and the file has been consumed before. Will skip this remote file: " + file);
}
return false;
}